﻿<Window x:Class="YoutubeThumbnailGenerator.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:YoutubeThumbnailGenerator"
        mc:Ignorable="d"
        Title="MainWindow" Height="350" Width="525">
    <DockPanel LastChildFill="True">
        <ToolBar DockPanel.Dock="Top">
            <Button Content=">" Click="Play_Button_Click" Margin="5 2 2 5"/>
            <Button Content="||" Click="Pause_Button_Click" Margin="5 2 2 5"/>
            <Button Content=">|" Click="FrameForward_Button_Click" Margin="5 2 2 5"/>
        </ToolBar>
    <Viewbox Stretch="Fill">
        <Canvas Width="1024" Height="768">
            <MediaElement x:Name="me" LoadedBehavior="Manual"
                Source="C:\temp\LisaYoga\Running_34.mp4" Canvas.Left="305" Canvas.Top="10" Height="748" Width="877" Stretch="UniformToFill"  />
            <StackPanel Background="White" VerticalAlignment="Stretch" Height="758" Width="467">
                <TextBlock Text="Title" FontSize="72" Foreground="Red"  />
                <TextBlock Text="INfo" FontSize="72" Foreground="Black" />
            </StackPanel>
            <!--<Image Source="C:\Users\Brian\Pictures\LisaGlow.PNG" Grid.RowSpan="2" Grid.Column="1"></Image>-->
        </Canvas>
    </Viewbox>
    </DockPanel>
</Window>
